package com.huilian.tool.douyin.applet.controller;

import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: loong
 * @create: 2023-03-28 09:49
 **/
@RestController
@RequestMapping("/api/douYinApplet/life")
public class DouYinAppletLifeController {

    @PostMapping("/createOrderCallback")
    public String createOrderCallback(@RequestBody JSONObject jsonObject) {
        System.err.println(jsonObject);
        return "SUCCESS";
    }

    @PostMapping("/goodsProductAuditNotify")
    public String goodsProductAuditNotify(@RequestBody JSONObject jsonObject) {
        System.err.println(jsonObject);
        return "SUCCESS";
    }

}
